package com.grq.mis.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.beetl.sql.annotation.entity.AutoID;
import org.beetl.sql.annotation.entity.Table;

import java.io.Serializable;

/*
* 权限表
* gen by beetlsql3 2021-11-21
*/
@Data
@NoArgsConstructor
@AllArgsConstructor

@Table(name="t_permission")
public class Permission implements Serializable {
	@AutoID
	private Long id ;
	/**
	 * 权限名称
	 */
	private String name ;
	/**
	 * 权限编码
	 */
	private String code ;
	/**
	 * 图标
	 */
	private String icon ;
	/**
	 * 链接
	 */
	private String url ;
	/**
	 * 上级id
	 */
	private Long parentId ;
	/**
	 * 是否是页面展示的链接
	 */
	private Boolean isLink ;
	/**
	 * 排序(1-99)
	 */
	private Integer sort ;


}
